package com.kirito.mvcframework.strategy;

/**
 * @ClassName CovertEnum
 * @Description: TODO
 * @Author kirito
 * @Date 2021/2/25
 * @Version V1.0
 **/
public enum CovertEnum {
    /**
     *
     */
    Integer("Integer",new ConvertInteger()),
    Double("Double",new ConvertDouble());

    private String code ;
    private ParamConvert pc ;

    private CovertEnum(String code, ParamConvert pc) {
        this.code = code ;
        this.pc  = pc ;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public ParamConvert getPc() {
        return pc;
    }

    public void setPc(ParamConvert pc) {
        this.pc = pc;
    }


}
